﻿<?xml version="1.0" encoding="UTF-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ClientWebPart
        Title="Coffeemaker"
        DefaultHeight="530"
        DefaultWidth="510"
        Name="Coffeemaker"
        Description="Delivering hot coffee to your Web Part pages!" >
        <Content
            Src="~remoteAppUrl/Coffeemaker.html?name=_name_&amp;teaspoons=_teaspoons_&amp;decaf=_decaf_&amp;size=_size_&amp;editmode=_editMode_&amp;{StandardTokens}"
            Type="html"/>
        <Properties>
            <Property
                Name="name"
                Type="string"
                RequiresDesignerPermission="true"
                DefaultValue="Friend"
                WebCategory="Coffeemaker properties"
                WebDisplayName="Your name, please.">
            </Property>
            <Property
                Name="teaspoons"
                Type="int"
                RequiresDesignerPermission="true"
                DefaultValue="0"
                WebCategory="Coffeemaker properties"
                WebDisplayName="Sugar, how many teaspoons?">
            </Property>
            <Property
                Name="decaf"
                Type="boolean"
                RequiresDesignerPermission="true"
                DefaultValue="false"
                WebCategory="Coffeemaker properties"
                WebDisplayName="Do you want a decaffeinated coffee?">
            </Property>
            <Property
                Name="size"
                Type="enum"
                RequiresDesignerPermission="true"
                DefaultValue="8 oz"
                WebCategory="Coffeemaker properties"
                WebDisplayName="The size of your coffee, 
                it could be short (8 oz) or tall (12 oz).">
                <EnumItems>
                    <EnumItem WebDisplayName="short" Value="8 oz"/>
                    <EnumItem WebDisplayName="tall" Value="12 oz"/>
                </EnumItems>
            </Property>
        </Properties>
    </ClientWebPart>
</Elements>